const TokenKey = "x-app-token";
export function getToken() {//从本地获取token
  return localStorage.getItem(TokenKey);
}

export function setToken(token) {//添加token到本地存储
  return localStorage.setItem(TokenKey, token);
}

export function removeToken() {//删除token
  return localStorage.removeItem(TokenKey);
}
